<?php/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */
 
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8)  ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=1040" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="msvalidate.01" content="9F6372E4945DD51FCFE2C8F3EE2C8242" />
<title><?php wp_title( '|', true, 'right' ); ?></title>

<?php // NoIndex / NoFollow For Training Guide Posts, Shop Orders
	if (in_category(array(923, 924, 925, 926, 927, 928, 936))) { ?>
    	<meta name="robots" content="noindex,nofollow" />
    <?php } elseif (is_category(array(923, 924, 925, 926, 927, 928, 936))) { ?>
    	<meta name="robots" content="noindex,nofollow" />
    <?php } elseif (( 'shop_order' == get_post_type() )) { ?>
        <meta name="robots" content="noindex,nofollow" />
    <?php } ?>

<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/../wp-content/themes/siliconsolar/mattbstyles.css" />
<?php wp_head(); ?>

<?php
	global $is_IE;
	if ( is_IE() ) { $browsertype = "badbrowser"; } ?>
    
<?php if (is_IE() ) { ?>
	<style>
		#homepageTopRight h3.widget-title { margin-bottom:0px; }
		ul li.featuredprodprice { line-height:18px; }
		#homepageFeaturedProduct h4 { margin-top:-10px; }
		#homepageTopRight h3.widget-title { margin-bottom:10px; }
		#homepageFeaturedProduct p { padding-top:-10px; }
	</style>
<?php } ?>

<?php 
	global $is_iphone;
	if($is_iphone) { ?>
	<style>
		#primary { margin-left:0px;float:left; }
		#secondary { margin-right:0px; }
	</style>
<?php } ?>


</head>

<body <?php body_class(); ?>>

<div id="page" class="hfeed site">

		
		
        
        
    	<div id="headerTopBar">
    		<div id="headerTopBarLeft"><h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1></div>
        	<div id="headerTopBarRight">
            	<ul>
                	<li><a href="http://www.siliconsolar.com">Home</a></li>
                    <li><a href="/../company-information.html">About</a></li>
                    <li><a href="/../contact-us.html">Contact</a></li>
                    <li><a href="/../news-and-press-releases.html">News</a></li>
                    <li><a href="/../link-us.html">Link To Us</a></li>
		      <li><a href="/../popular-tags">Popular Solar Tags</a></li>
                </ul>
            </div>
    	</div>
		<div id="header">
			<div id="headerLogo">
            	<a href="http://www.siliconsolar.com"><img src="/../wp-content/themes/siliconsolar/images/siliconsolar-logo.gif" alt="Silicon Solar Online Store" width="250" /></a>
            </div>
            <div id="headerMainMiddle">
            	<img src="/../wp-content/themes/siliconsolar/images/header-search-top-image.jpg" alt="Silicon Solar - No Hassle Returns & Price Match Guarantee" />
            	<?php dynamic_sidebar( 'sidebar-5' ); ?>
                <img src="/../wp-content/themes/siliconsolar/images/header-search-bottom-image.jpg" alt="Silicon Solar - Family Owned Since 1997" />
            </div>
            <div id="headerMainRight">
            	<div id="headerCart" style="padding-top:10px;padding-bottom:10px;">
                	<p style="text-align:center;"><a class="button" href="/../my-account/">Log In/Out</a> <a class="button" href="/../cart/" style="margin-left:5px;margin-right:5px;">View Cart</a> <a class="button" href="/../checkout/">Checkout</a></p>
                </div>
                <!--
            	<?php // if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
					<div id="headerCart">
						<?php // dynamic_sidebar( 'sidebar-4' ); ?>
                        <div style="width:100%;height:0px;clear:both;"></div>
					</div><!-- #secondary -->
				<?php // endif; ?>
                <div style="width:100%;height:0px;clear:both;"></div>
                <span class="big red">Questions?</span> <span class="big">Call Us Today!</span>
                <p><span class="blue">1.800.786.0329</span> | <span>M-F 8a to 530p EST</span></p>
                <ul class="headersocialbuttons">
                	<!--
                    <li style="width:80px;vertical-align:top;"><div class="fb-like" data-href="http://www.facebook.com/SiliconSolar" data-send="false" data-layout="button_count" data-width="80" data-show-faces="false" data-font="arial"></div></li>
                    <li style="width:80px;vertical-align:top;"><div class="g-plusone" data-size="tall" data-annotation="inline" data-width="120" data-href="http://www.siliconsolar.com"></div></li>
                	-->
                    <li><a href="http://www.facebook.com/SiliconSolar"><img src="/../wp-content/themes/siliconsolar/images/facebook.png" alt="Find Us On Facebook" width="30" /></a></li>
                    <!--<li><a href="#"><img src="/../wp-content/themes/siliconsolar/images/twitter.png" alt="Follow Us On Twitter" width="30" /></a></li>-->
                    <li><a href="http://www.linkedin.com/company/silicon-solar-inc."><img src="/../wp-content/themes/siliconsolar/images/linkedin.png" alt="Network With Us On LinkedIn" width="30" /></a></li>
                    <li><a href="https://plus.google.com/b/100947798815486107103/" rel="publisher"><img src="/../wp-content/themes/siliconsolar/images/google.png" alt="Join Us On Google Plus" width="30" /></a></li>
                    <li><a href="http://www.youtube.com/user/siliconsolar"><img src="/../wp-content/themes/siliconsolar/images/youtube.png" alt="Check Out Our YouTube Videos" width="30" /></a></li>
                </ul>
            </div>
		</div>
        
        

		<nav id="site-navigation" class="main-navigation" role="navigation" style="clear:both;width:1060px;margin-left:-40px;">
            <ul>
            	
				<?php if ( $is_IE ) { ?>
   						<?php include 'badnavigation.php'; ?>
				<?php } else { ?>
					<?php dynamic_sidebar( 'sidebar-7' ); ?>
                <?php } ?>
            </ul>
		</nav><!-- #site-navigation -->

		<div id="websitebanner" style="clear:both;width:1040px;height:60px;margin-left:-40px;">
        	<a href="/../shipping-rates-and-delivery-times.html">
        		<img src="/../wp-content/themes/siliconsolar/images/solarsignlightsfreeshipping.gif" alt="Free Shipping From Silicon Solar" />
        	</a>
        </div>
        
        <?php if(! is_home()) { ?>
        	<div id="breadcrumb" itemprop="breadcrumb">
        		<?php // include 'breadcrumbs.php' ; ?>
            	<?php include '/home/silicons/public_html/wp-content/plugins/woocommerce/templates/shop/breadcrumb.php'; ?>
        	</div>
        <?php } ?>

	<div id="main" class="wrapper">